package global

import (
	"github.com/dxvgef/token"
	"github.com/bwmarrin/snowflake"
	"time"
)

//token配置
var TokenToption struct {
	Key       string
	Method    string
	ParamName string
}

//管理员token内容
type TokenClaims struct {
	AdminID int64
	token.ClaimsAttr
}

//ID节点生成器
var IDNode *snowflake.Node

//设置时区
var TimeLocal *time.Location
